MyGame.s9 = function (game) {



};


MyGame.s9.prototype = {
    create: function () {

        var that = this;

        console.log('s9-end')

        game.bg = game.add.image(0, 0, 's9_bg');

        game.long = game.add.image(game.world.centerX,game.world.centerY + 400,'s9_long');
        game.long.anchor.set(0.5);
        game.add.tween(game.long).to( { alpha: 0}, 1000, Phaser.Easing.Linear.None, true, 0,-1).yoyo(true, 0)

        $('.result').show()
        $('.end-btns').show();
        setTimeout(function(){
            $('.end-btns').css({
                opacity : 1
            })
        },0)




        GameUI.cutscenes()







    },




    update: function () {



    },



    render: function () {
        /*game.obstacles.forEach(function(item){
            game.debug.body(item);
        })
        game.debug.body(game.player);*/
    }
};

